var express = require('express');
var app = module.exports = express();

var config = require('./config/config');

require('./config/setting')(app,config);

require('./config/routes')(app);

app.listen(config.httpPort);

console.log("http server start on port " + config.httpPort);



